<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;
use IDock\Insurance\ZFIC\Response\OrderStatusQueryResponse;
use IDock\Visitor\PolicyInfoVisitor;

class OrderStatusQueryRequest extends AllZFICRequest
{

    protected $urlTip = '投保单状态查询接口';

    protected $route = 'order/api/order/queryProposalStatus';

    protected $response = OrderStatusQueryResponse::class;

    /**
     * @var PolicyInfoVisitor $visitor
     */
    protected $visitor;


    public function generate(): array
    {
        $param = [
            "platOrderNo" => $this->visitor->argc['platOrderNo'],
        ];
        return $param;
    }

    public function getStaffConfig(&$chalCode, &$userCode)
    {
        $chalCode = $this->visitor->argc['chalCode'] ?? '';
        $userCode = $this->visitor->argc['userCode'] ?? '';
    }


}